<%@page import="java.util.HashSet"%>
<%@page import="es.udc.fic.hamNeggs.dao.InputProject"%>
<%@page import="java.util.ArrayList"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>hamNeggs</title>
  <meta name="description" content="">
  <meta name="keywords" content="scrum,agile,project management">
  <meta http-equiv="Content-Type"
 content="text/html; charset=iso-8859-1">
    <style type="text/css">
		<%@ include file="/WEB-INF/css/style.css" %>
	</style>
	
	
</head>
<body>
<div class="page-out">
<div class="page-in">
<div class="page">
<div class="main">
<div class="header">
<div class="header-top">
<h1><span>HamNeggs</span> Scrum App</h1>
</div>
<div class="header-bottom">
<h2>an easy web app for managing<br/>
your scrum projects.</h2>
<br/><br/> <h3> welcome page </h3> 
<c:choose>
    <c:when test="${!empty selectedProject}">
			<h3> working in ${selectedProject}.</h3>
    </c:when>
    <c:otherwise>
        <h3> PLEASE, SELECT A PROJECT TO WORK WITH </h3>
    </c:otherwise>
</c:choose>
</div>
<div class="topmenu">
<ul>
  <li
 style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; padding-left: 0px;"><a
 href="WelcomePage"><span>Home</span></a></li>
	<li><a href="ProjectManagement">Project</a></li>
	<li><a href="UserStoriesManagement">User Stories</a></li>
	<li><a href="SprintManagement">Sprints</a></li>
	<li><a href="MeetingManagement">Meetings</a></li>
	<li><a href="Login?action=logout">Logout</a></li>
</ul>
</div>
</div>
<div class="content">
 			<table>
				<h2 class="sidebar1">Project List</h2>
				<p><b>Please, select a project before you try to manage your sprints and/or user stories</b></p>
				
				<br/>
			
				<c:forEach var="prj" items="${projects}">
						<a href="ProjectManagement?id=${prj.id}&change=true">${prj.name}</a>
					    	<p>Rol: <c:out value="${prj.currentRol}"/></p>
					    	<p>Start date: <c:out value="${prj.dateStart}"/></p>
					    	<p>End date: <c:out value="${prj.dateEnd}"/></p>
				</c:forEach>
			</table> 
</div>
<div class="footer">
<!--DO NOT Remove The Footer Links-->
<a href="http://www.htmltemplates.net">
<img src="images/footer.gif" alt="html templates" border="0" height="1" width="1"></a>
<p>&copy; Copyright 2013. By Estefania Rabadan<br>
</p>
<ul>
  <li style="border-left: medium none;"><a href="index.html"><span>Home</span></a></li>
  <li><a href="#"><span>Contact</span></a></li>
  <li><a href="#"><span>Resources</span></a></li>
  <li style="padding-right: 0px;"><a href="#"><span>Links</span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
